package com.zrt.bookstore3.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zrt.bookstore3.Domain.User;

import java.util.List;

public interface UserService extends IService<User> {
    boolean delete(Integer id);
    boolean modify(User user);
    List<User> selectAll();
    User selectUserByUsernameAndPassword(String username,String password);
    IPage<User> getPage(int currentPage, int pageSize, User user);
    Boolean insert(User user);
}
